home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / gem / l_1199 / 1050 < prev    next >
Internet Message Format  |  1994-08-27  |  902b

  1. Date: Tue, 26 Jul 94 18:16 CDT
  2. From: ekl@sdf.lonestar.org (Evan K. Langlois)
  3. To: gem-list@world.std.com
  4. Subject: Re: Getting right mouse button clicks
  5. Precedence: bulk
  6.  
  7. ========================================================================
  8. Yes - evnt_multi(MU_MESAG+MU_KEYBD+MU_BUTTON+timerflag,258,3,0...)
  9.  
  10. 258 waits for 2 clicks, 259 for 3, etc. Which button was pressed is
  11. returned in the button variable as usual.
  12. ========================================================================
  13.  
  14. You didn't read me code either.  That 0 that you have in there means taht
  15. your evnt_multi will return instantly as long as the mouse button is
  16. down.  This is kinda bad as you keep getting mouse events.   Take another
  17. look at my code, or at least change the 0 to whatever variable you use
  18. to store the output of evnt_multi's button state in.  That will cut things
  19. down to 2 events instead of a few thousand.
  20.  
  21.